﻿<UserControl x:Class="DotBeer.UI.WPFClient.UpdateControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Height="110" 
             Width="300" 
             Loaded="UserControl_Loaded">
	<UserControl.Resources>
		<Storyboard x:Key="ShowControl">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BorderRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="HideControl">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BorderRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<UserControl.Triggers>
	</UserControl.Triggers>
    <Border Background="{DynamicResource BrushControlBackgroundLight}" 
            BorderBrush="{DynamicResource ImpassiveColor4}" 
            BorderThickness="{DynamicResource ThicknessSize_1}" 
            CornerRadius="{DynamicResource CornerRadiusSmall}" 
            x:Name="BorderRoot" 
            Margin="0,0,10,10">
		<Grid x:Name="LayoutRoot">
			<Grid.RowDefinitions>
				<RowDefinition Height="50" />
				<RowDefinition Height="50" />
			</Grid.RowDefinitions>
		</Grid>
	</Border>
</UserControl>